package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.BookGrantInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.request.BookGrantInfoRs;

import java.util.List;

/**
 * <p>
 * 发放记录表 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2025-02-10
 */
public interface IBookGrantInfoService extends IService<BookGrantInfo> {


    List<BookGrantInfo> getGrantLog(Integer yearPart,
                                    Integer quarterNum,
                                    Long schoolId,
                                    Long subjectsId,
                                    Long grantId,
                                    Integer status,
                                    Integer limitCount);


    List<BookGrantInfoRs> getGrantLogDetail(Integer yearPart,
                                            Integer quarterNum,
                                            Long schoolId,
                                            Long subjectsId,
                                            Long teacherId,
                                            Integer status,
                                            Long bookTextId,
                                            String createdAt,
                                            Integer textbookType,
                                            Long classTypeId,
                                            String yearClassId,
                                            Integer lessonNum,
                                            String studentName,
                                            String gradeId,
                                            Integer isDetails
    );

    List<BookGrantInfoRs> getGrantLogDetailPaper(Integer yearPart,
                                                 Integer quarterNum,
                                                 Long schoolId,
                                                 Long subjectsId,
                                                 Long teacherId,
                                                 Integer status,
                                                 String createdAt);

    List<BookGrantInfo> getGrantPaperLog(Integer yearPart,
                                         Integer quarterNum,
                                         Long schoolId,
                                         Long subjectsId,
                                         Long grantId,
                                         Integer status,
                                         Integer limitCount);
}
